﻿#pragma once

#include <string>
#include "../../stringhelper.h"

class RegexFunctions final
{
public:
    static Regex *ChatItemLinks;

public:
    enum class RegexMatchEvalType
    {
        ChatLinkName
    };

private:
    static std::string RegexReplace(const std::string &text, Regex *regex, MatchEvaluator ev);

public:
    static std::string SeperateCamelCase(const std::string &value);

private:
    static MatchEvaluator GetMatchEv(RegexMatchEvalType type);

public:
    static std::string CleanChatString(const std::string &text);
};
